﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeBehind="ForgotPassword.aspx.cs" Inherits="MusicmanWeb.ForgotPassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
    <div class="shim column">
    </div>
    <div class="page" id="register">
        <div id="sidebar">
            <div class="login">
                <h4>
                    Forgot password
                </h4>
            </div>
        </div>
        <div id="content" style="height: 400px;">
            <asp:Label ID="Label1" runat="server" Text="email address" Width="110px"/> <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                            ErrorMessage="*" 
                                            ControlToValidate="txtEmail"/>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ErrorMessage="Not valid email" 
                                                ControlToValidate="txtEmail" 
                                                ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*([,;]\s*\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)*"/>
                <asp:CustomValidator ID="CustomValidator1" runat="server" 
                                     ControlToValidate="txtEmail"
                                     ErrorMessage="User with the following e-mail do not exist" 
                                     OnServerValidate="Check_Email"/>
                <br />                    
                <asp:ImageButton ID="Button1" runat="server" CssClass="button" SkinID="send" onclick="Button1_Click" />
                
                <asp:Label ID="lblResult" runat="server" Text=""/>
                                    
        </div>
        
    </div>
</asp:Content>
